
package org.xteam.pascal.parser.ast;

import org.xteam.parser.runtime.Span;

public class Compound extends Statement {
	
	public org.xteam.parser.runtime.reflect.AstNodeType getNodeType() {
		return PascalAstPackage.INSTANCE.getCompoundType();
	}
	
	protected org.xteam.parser.runtime.AstList<Statement> statements;
	
	public Compound(Span span, org.xteam.parser.runtime.AstList<Statement> statements) {
		super(span);
		this.statements = statements;
	}
	
	
	public org.xteam.parser.runtime.AstList<Statement> getStatements() {
		return statements;
	}
	
	public void setStatements(org.xteam.parser.runtime.AstList<Statement> statements) {
		this.statements = statements;
	}
	

	public void visit(IPascalVisitor visitor) {
		visitor.visitCompound(this);
	}
}
